<div class="row">
  <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
<script language="javascript" type="text/javascript" src="/js/DatePicker/WdatePicker.js"></script>
<style type="text/css">
.Wdate{border:0px; }
</style>
  
  <div class="span4"> 
<form action="/<*$controller*>/opeditscore" method="post" >    
        <table id="tab" class="table table-bordered " style="margin-top:15px; margin-left:20px;">
            <tr><th>绩效积分</th><td><input type="text" name="credits_performance" id="credits_performance" value="<*$result.credits_performance.value*>" ></td></tr>
            <tr><th>采用照片</th><td><input type="text" name="score_photo" id="score_photo" value="<*$result.credit_artice_photo.value*>" ></td></tr>
            <tr><th>学期vip</th><td><input type="text" name="score_term" id="score_term" value="<*$result.credit_vip_term.value*>" ></td></tr>
            <tr><th>年vip</th><td><input type="text" name="score_year" id="score_year" value="<*$result.credit_vip_year.value*>" ></td></tr>
            <tr><th>推荐积分</th><td><input type="text" name="score_recommend" id="score_recommend" value="<*$result.credit_teacher_publicize.value*>" ></td></tr>
            <tr><th>积分过期时间</th><td>
            <input type="text" class="Wdate" id="credit_expiretime" onclick="WdatePicker()" style="width:110px"  name="credit_expiretime" class="Wdate" value="<*$result.credit_expiretime.value|date_format:"%Y-%m-%d"*>" autocomplete="off"/>
            </td></tr>
            <tr><th>积分商城返回的每页数量</th><td><input type="text" name="credit_shoplimit" id="credit_shoplimit" value="<*$result.credit_shoplimit.value*>" ></td></tr>
            <tr><th>vip积分上限年</th><td><input type="text" name="credit_max_vip" id="credit_max_vip" value="<*$result.credit_max_vip.value*>" ></td></tr>
            <tr><th>photo积分上限年</th><td><input type="text" name="credit_max_photo" id="credit_max_photo" value="<*$result.credit_max_photo.value*>" ></td></tr>
            <tr><th>推荐积分上限年</th><td><input type="text" name="credit_max_publicize" id="credit_max_publicize" value="<*$result.credit_teacher_publicize.value*>" ></td></tr>
            <tr><th>积分商城公告显示的条数</th><td><input type="text" name="credit_shopnotice" id="credit_shopnotice" value="<*$result.credit_shopnotice.value*>" ></td></tr>
        	<tr><th colspan="2" style="text-align:center;">
                <button type="submit" class="btn btn-primary" >保存修改</button>
                <button type="button" class="btn" onclick="window.location='/<*$controller*>/score'">取消</button>
            </th></tr>
        </table>
</form>
  </div>
</div>
